import request from '@/router/axios';
export default {
    // 产品分类
    productGroupTree() {
        return request({
            url: '/cp/prod-approval/group-tree',
            method: 'get'
        });
    },
    // 产品信息
    productInfo(params) {
        return request({
            url: '/cp/prod-approval',
            method: 'get',
            params: params
        });
    },
    // 产品列表
    productList(params) {
        return request({
            url: '/cp/prod-approval/prod-page',
            method: 'get',
            params: params
        });
    },
    // 产品审批
    productApprove(params) {
        return request({
            url: '/cp/prod-approval/approval',
            method: 'put',
            params: params
        });
    }
};
